package adger.me.yili.bean;

import java.util.List;

/**
 * Created by heyue on 16/1/31.
 */
public class ConfirmBean {


    /**
     * token : 0afc6bf69f6891d464a17fc0e6312b56
     * order_id : 75662
     * claimed : 1
     * order_lines : [{"id":26555,"quantity":2,"charge":3.5},{"id":26557,"quantity":2,"charge":3.7}]
     * charge : 55.5
     */

    private String token;
    private int order_id;
    private int claimed;
    private double charge;
    /**
     * id : 26555
     * quantity : 2
     * charge : 3.5
     */

    private List<OrderLinesBean> order_lines;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getOrder_id() {
        return order_id;
    }

    public void setOrder_id(int order_id) {
        this.order_id = order_id;
    }

    public int getClaimed() {
        return claimed;
    }

    public void setClaimed(int claimed) {
        this.claimed = claimed;
    }

    public double getCharge() {
        return charge;
    }

    public void setCharge(double charge) {
        this.charge = charge;
    }

    public List<OrderLinesBean> getOrder_lines() {
        return order_lines;
    }

    public void setOrder_lines(List<OrderLinesBean> order_lines) {
        this.order_lines = order_lines;
    }

    public static class OrderLinesBean {
        private int id;
        private int quantity;
        private double charge;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public double getCharge() {
            return charge;
        }

        public void setCharge(double charge) {
            this.charge = charge;
        }
    }
}
